/**
 * @description 分->元
 * */
export function formatCentToYuan(money = 0) {
  if (money === null || money === undefined) return;
  return parseFloat((money / 100).toFixed(2));
}

/**
 * @description 元->分
 * */
export function formatYuanToCent(money = 0) {
  if (money === null || money === undefined) return;
  return parseFloat((money * 100).toFixed(0));
}
